import { Message } from 'element-ui';
import { apis } from '../../../config/request.config.js';
import { request } from '../../common/request.js';
import { formatMoney } from '../../common/utils.js';
import Contract from '../Component/Contract/page.vue'
export default {

    data() {
        return {
            sizeModel: 'large',
            form: {
                chooseAccount: '',
                invoiceHead: '滴滴（中国）有限公司',
                companyNum: '222476589372094824',
                totalPrice: formatMoney(500000, 2),
                name: '',
                phone: '',
                address: '',
                bankName: '',
                bankAccount: '',
            },
            formR: {
                name: '',
                phone: '',
                address: ''
            },
            formD: {
                supplier: '',
                radio: '',
            },
            isShowDialog: false,
            isShowDialogR: false,
            isShowDialogD: false,
        }
    },

    components: {
        Contract,
    },

    computed: {
        
    },
    methods: {
        submit() {
            this.isShowDialogR = true;
        },
        toInvoiceList() {
            
        },
        confirmR() {
            this.isShowDialogR = false;
            this.isShowDialogD = true;
        },
        confirmD() {
            this.isShowDialogD = false;
        }
    },
    mounted(){
        
    }
}
